package cn.wolfcode.crm.serivce;

import cn.wolfcode.crm.domain.Department;
import cn.wolfcode.crm.query.QueryObject;
import cn.wolfcode.crm.util.PageResult;

import java.util.List;

public interface IDepartmentService {
    void deleteByPrimaryKey(Long id);
    void saveOrUpdate(Department record);
    Department selectByPrimaryKey(Long id);
    PageResult query(QueryObject qo);
    List<Department> selectAll();
}
